﻿/// <reference path="_namespace.js" />
//TODO: Ensure _namespace.js exists and contains our namespace and all library references.
//TODO: Change (global replace) "myAjaxApp" Application namespace to your preference.

/*****************************************************************************
Ajaxna library class definition. Inheriting from ajax.xna.framework.GameComponent.
Author: $username$ $time$.
Class:  myAjaxApp.$fileinputname$
*****************************************************************************/

$addNamespace("myAjaxApp");
//-----------------------------------------------------------------------------

myAjaxApp.$fileinputname$ = function(game)
{
    myAjaxApp.$fileinputname$.superConstructor.apply(this, arguments);
}
$extend("myAjaxApp.$fileinputname$", "ajax.xna.framework.GameComponent");
if ($getDesignMode())
    myAjaxApp.$fileinputname$.prototype = ajax.xna.framework.GameComponent.prototype;
//-----------------------------------------------------------------------------

// Public members
//-----------------------------------------------------------------------------


// Public Methods & overrides
//-----------------------------------------------------------------------------
myAjaxApp.$fileinputname$.prototype.initialize = function()
{
    //TODO: Add your initialization code here.

    myAjaxApp.$fileinputname$.superClass.initialize.call(this);
}

//-----------------------------------------------------------------------------
myAjaxApp.$fileinputname$.prototype.update = function(gameTime)
{
    gameTime = ajax.drawing.Timer.cast(gameTime);
    //TODO: Add your update code here
}


/* TODO: Uncomment for DrawableGameComponents
//-----------------------------------------------------------------------------
myAjaxApp.$fileinputname$.prototype.draw = function(gameTime)
{
gameTime = ajax.drawing.Timer.cast(gameTime);
//TODO: Add your draw code here
}
*/

// Statics
//-----------------------------------------------------------------------------
myAjaxApp.$fileinputname$.cast = function(obj)
{///<returns type="myAjaxApp.$fileinputname$"/>
    return obj;
}